﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class SoftwareEngineer:Officer,IWriter
    {
        public SoftwareEngineer() { }
        public SoftwareEngineer(string work) : base(work)
        {

        }

        public void Hi()
        {
            Console.WriteLine("大家好，我是{0}，还是一名作家",this.Work);
        }
    }
}
